<!doctype html>
<html>
<head>
<meta charset="utf-8"/>
<title>{$head[title]}</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta content="{$head[keywords]}" name="keywords" />
<meta content="{$head[description]}" name="description" />
<base href="{$SETTING[siteurl]}" />
<link href="favicon.ico" rel="shortcut icon" />
<meta name="google-site-verification" content="wlbtCYsDxMFG_RdLUJll1nD3V-088kY_uJOmi0-y2RY" />
<link href="{SKIN_PATH}skin/style.css" rel="stylesheet" type="text/css" />
<link href="{SKIN_PATH}skin/responsive.css" rel="stylesheet" type="text/css" />
<link rel="alternate" type="application/rss+xml" title="{$head[title]}" href="/rss.php?rssid={$catid}" />
<script language="JavaScript" src="misc/config.js"></script>
<script language="JavaScript" src="misc/jquery.min.js"></script>
<script language="JavaScript" src="misc/jquery.cookie.js"></script>
<script language="JavaScript" src="misc/common.js"></script>
<script language="JavaScript" src="misc/validator.js"></script>


<!--瀑布流-->
<script src="{SKIN_PATH}{$module}/jquery.masonry.min.js"></script>
<script>
  $(function(){
	$('.explore-list').masonry({
	  itemSelector: '.explore-item'
	});

  });
</script>
<script src="{SKIN_PATH}{$module}/jquery.lazyload.mini.js"></script>
<script type="text/javascript">
	$(function() {          
         // $("img").lazyload({placeholder : "images/grey.gif", container: $("#container")});
		 $("img").lazyload({placeholder : "{SKIN_PATH}{$module}grey.gif", effect : "fadeIn" });
      });
</script>
</head>
<body>  


{template 'header.html'}

<div class="container"> 
 
             
			<div class="explore-list">
          		
               <div class="explore-item">
                  <div class="thumbnail">
                  	<p>{$SETTING[sitename]}</p>
                   
        
                    <div class="clear">
                    	PHPCMS该软件采用模块化开发，支持多种分类方式，使用它可方便实现个性化网站的设计、开发与维护。它支持众多的程序组合，可轻松实现网站平台迁移，并可广泛满足各种规模的网站需求，可靠性高，是一款具备文章、下载、图片、分类信息、影视、商城、采集、财务等众多功能的强大、易用、可扩展的优秀网站管理软件。 
                        
                    </div>
                  </div>
                    
              </div>
                
             
              {php $i=0;}
              {loop $data $k $r}
                
                {php $i++;}
                {if $i==41} 
                {php break;} 
                {/if}
             
                
                <div class="explore-item">
                	<div class="thumbnail"> 
                	{if $r[thumb]}
                	<div class="thumb"><a href="{url($r[url])}" target="{$target}"><img src="{php echo $r[thumb] ? thumb($r[thumb],'120','150') : thumb('misc/nopic.gif','120','')}"/></a></div>
                    {/if}
                    
                    <p><a href="{url($r[url])}" target="{$target}">{str_cut($r[title], 60)}</a></p>
                    <div class="attr">
                    {if date('Y-m-d',$r[updatetime]) == date('Y-m-d')}
                    	<font color="red">{date('Y-m-d',$r[updatetime])}</font>
                    {else}
                    	<font color="gray">{date('Y-m-d',$r[updatetime])}</font>
                    {/if}
                    </div>
                    
                    {if $r[description]}
                    <div class="clear">
                    	
                        {if $r[thumb]}
                        	{str_cut(str_replace('　','',$r[description]),60)} 
                        {else}
                        	{str_cut(str_replace('　','',$r[description]),150)} 
                        {/if}
                        
                    </div>
                    {else}
                    <div class="clear">
                    	
                        {if $r[thumb]}
                        	{str_cut(str_replace('　','',strip_tags($r[content])),60)} 
                        {else}
                        	{str_cut(str_replace('　','',strip_tags($r[content])),150)} 
                        {/if}
                        
                    </div>
                    {/if}
                    
                    
                    {if $keywords}
                    <div>tag:
                        {loop $keywords $k $v}
                        <a href="{url("?module=content&action=tag&name=$v")}">{$v}</a>
                        {/loop}
                    </div>
                    {/if}
                    
                    <div><a class="badge" href="{url($r[url])}"><i class="icon-heart icon-white"></i>{$r[hits]}</a></div>
                    
                    <div>
                    	<a href="{url("?module=space&userid=$r[userid]")}" title="{$r[username]}"><img src="{thumb(avatar($r[userid]),16,16)}" alt="{$r[username]}"  target="_blank" width="16" height="16"/></a> {username($r[userid])}
                    </div>
                    
                    </div>
              </div>
     
    
              {/loop}
              
              
              
              
    
    
</div>
 

{template 'footer.html'}